<template>
  <view style="width: 100%;height: 100%;display: flex;flex-direction: column">
    <Input v-model="imgData" type="textarea" :rows="4" placeholder="请输入base64数据" />
    <Image :src="imgData" fit="contain" style="flex-grow: 1;padding: 24px 16px;min-height: 100px" />
  </view>

</template>

<script setup>
import {ref} from 'vue'

const imgData=ref('')

</script>

<style scoped>

</style>
